package com.comfacauca.xmlc2.utils.tablas;

import java.util.*;
/**
 * This class contains the members required to return a response to the client
 * side whenever all processing (filtering, pagination, etc.) is performed on the server side.
 * An instance of this class is passed to the constructor of an instance of GSon
 * for processing as a JSON string.
 * 
 * @author Alan Shiers
 *
 */
public class SSPOutput implements BasicOutput
{
   public int draw = -1;
   public String recordsTotal = "";
   public String recordsFiltered = "";
   public ArrayList<LinkedHashMap<String,Object>> data = new ArrayList<LinkedHashMap<String,Object>>();
   
   public void addDataRow(LinkedHashMap<String,Object> row)
   {
	   data.add(row);
   }
   public ArrayList<LinkedHashMap<String,Object>> getData()
   {
	   return data;
   }
}


